import request from '@/utils/request'

//变更治疗方案状态
export function updateProgramme(data) {
  return request({
    url: 'admin/programme/update',
    method: 'post',
    data
  })
}

//
export function getTreatment(params) {
  return request({
    url: 'admin/treatment/list',
    method: 'get',
    params
  })
}

//删除方案项目
export function delProgramme(data) {
  return request({
    url: 'admin/programme/treatment/del',
    method: 'post',
    data
  })
}

//方案项目列表
export function getTreatmentProgramme(params) {
  return request({
    url: 'admin/programme/treatment/list',
    method: 'get',
    params
  })
}

export function addProgramme(data) {
  return request({
    url: 'admin/programme/treatment/add',
    method: 'post',
    data
  })
}
